package Demo2;

public class MyArrayList {
    public int[] elem;
    public int usedSize;
    public static final int DEFAULT_CAPACITY = 10;

    public MyArrayList(){
        this.elem = new int[DEFAULT_CAPACITY];
    }

    public void add (int add){
        elem[usedSize++] = add;
    }

    public boolean ifFull(){

    }

    public static void main(String[] args) {

    }
}
